<% 
    weight = tagWeight(@max,tag)
%>
<%= link_to tag[0],{ :action => 'list' , :id => tag[0] },{:style =>style_for_weight(weight),:rel=>'tag', :title=> tag[0]}%>